<% includeFileTemplate("../_header.html"){} %>
<style>
body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

</style>
<body>
<% includeFileTemplate("../_navbar.html"){} %>
<div class="container">
<hr>
  <form class="form-signin" role="form" method="post"  action="${request.ContextPath}/login/dologin">
    
    <input type="text" class="form-control" name="username" placeholder="请输入手机号" required="required"  autofocus="autofocus">
    <input type="password" class="form-control" name="password"placeholder="请输入密码" required="required">
    <div class="checkbox">
      <label>
        <input type="checkbox" value="on" name="rememberMe"> 记住我
      </label>
    </div>
    <input class="btn btn-lg btn-primary btn-block" type="submit" value=" 登 录 ">
    <!-- <a class="btn btn-default btn-lg btn-block " href="${request.ContextPath}/register/" >注册</a> -->
  </form>
  
  <% if(msg != "start") {%>
	<div class="alert alert-warning alert-dismissible fade in" role="alert">
      <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
      <strong>警告 </strong> ${msg}
    </div>
    <% }%>
</div>
</body>
<% includeFileTemplate("../_footer.html"){} %>
</html>